[INFO] fetching crate auto-rust 0.1.1...
[INFO] checking auto-rust-0.1.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate auto-rust 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate auto-rust 0.1.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate auto-rust 0.1.1
[INFO] finished tweaking crates.io crate auto-rust 0.1.1
[INFO] tweaked toml for crates.io crate auto-rust 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate auto-rust 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 83890b643f29dd679143d18c852bbb82944ca7007cf2bf1c742d27151499f35b
[INFO] running `Command { std: "docker" "start" "-a" "83890b643f29dd679143d18c852bbb82944ca7007cf2bf1c742d27151499f35b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83890b643f29dd679143d18c852bbb82944ca7007cf2bf1c742d27151499f35b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83890b643f29dd679143d18c852bbb82944ca7007cf2bf1c742d27151499f35b", kill_on_drop: false }`
[INFO] [stdout] 83890b643f29dd679143d18c852bbb82944ca7007cf2bf1c742d27151499f35b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea67b12f51f3aba70ba7ae9e1f0ab415808128a8fa328e4f415b9a89bddfdd74
[INFO] running `Command { std: "docker" "start" "-a" "ea67b12f51f3aba70ba7ae9e1f0ab415808128a8fa328e4f415b9a89bddfdd74", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling openssl v0.10.52
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling openssl-sys v0.9.87
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling serde v1.0.162
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking unicode-ident v1.0.8
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.162
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking base64 v0.21.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]     Checking ipnet v2.7.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking h2 v0.3.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.17
[INFO] [stderr]     Checking auto-rust v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/lib.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn auto_implement(args: TokenStream, input: TokenStream) -> TokenStream {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/lib.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn auto_implement(args: TokenStream, input: TokenStream) -> TokenStream {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/lib.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn auto_implement(args: TokenStream, input: TokenStream) -> TokenStream {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Function header: fn calculate_pi_with_n_iterations(n : u32) -> f64
[INFO] [stdout] Information extracted: "#[doc = \" This function calculates pi with a reliable algorithm.\"]\nfn calculate_pi_with_n_iterations(n : u32) -> f64"
[INFO] [stdout] Function header: fn is_email(input : String) -> bool
[INFO] [stdout] Information extracted: "#[doc = \"This function checks if a string is an email without regex.\"]\nfn is_email(input : String) -> bool"
[INFO] [stdout] Function header: fn my_ip() -> String
[INFO] [stdout] Information extracted: "fn my_ip() -> String"
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> examples/pi.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[auto_implement]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openai.com")), port: None, path: "/v1/chat/completions", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> examples/complex.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[auto_implement]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openai.com")), port: None, path: "/v1/chat/completions", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> examples/simple.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[auto_implement]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.openai.com")), port: None, path: "/v1/chat/completions", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `is_email` in this scope
[INFO] [stdout]   --> examples/complex.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let result = is_email("bregy@minsky.cc".to_string());
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `my_ip` in this scope
[INFO] [stdout]  --> examples/simple.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let result = my_ip();
[INFO] [stdout]   |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_pi_with_n_iterations` in this scope
[INFO] [stdout]   --> examples/pi.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let result = calculate_pi_with_n_iterations(100);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `auto-rust` (example "simple") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `auto-rust` (example "complex") due to 3 previous errors
[INFO] [stderr] error: could not compile `auto-rust` (example "pi") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "ea67b12f51f3aba70ba7ae9e1f0ab415808128a8fa328e4f415b9a89bddfdd74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea67b12f51f3aba70ba7ae9e1f0ab415808128a8fa328e4f415b9a89bddfdd74", kill_on_drop: false }`
[INFO] [stdout] ea67b12f51f3aba70ba7ae9e1f0ab415808128a8fa328e4f415b9a89bddfdd74
